package com.kaifamiao.demo.d0728;

public class Demo03 {

    public static void main(String[] args) throws CloneNotSupportedException {
        Student stu = new Student("武银霞", 20, "学习");

        Boy boy = new Boy();
        boy.name = "成成";

        stu.setBoyFriend(boy);

        System.out.println(stu);


        Object obj = stu.clone();
        System.out.println(obj);
    }
}
